using UnityEngine;
using QFramework;

namespace Projectsurviva
{
	public partial class Exp : ViewController
	{
		
        private void OnTriggerEnter2D(Collider2D collision)
        {
			if (collision.gameObject.GetComponent<Collectcircle>() )
			{
				this.DestroyGameObjGracefully();
				Global.Exp.Value++;
                AudioKit.PlaySound("exp");

            }
        }
    }
}
